package com.cinc.ebc.mm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 供应商
 * @Author: jeecg-boot
 * @Date:   2022-03-26
 * @Version: V1.0
 */
@Data
@ApiModel(value="mdm_supply对象", description="供应商")
public class MmPurchaseOrderSupplyMaterialModel {

	/**主键ID*/
    @ApiModelProperty(value = "供应商ID")
    private String id;
	/**供应商编码*/
	@Excel(name = "供应商编码", width = 15)
    @ApiModelProperty(value = "供应商编码")
    private String supplyNo;
    /**采购次数*/
    @Excel(name = "采购次数", width = 15)
    @ApiModelProperty(value = "采购次数")
    private Integer buyCount;
    /**采购金额*/
    @Excel(name = "采购金额", width = 15)
    @ApiModelProperty(value = "采购金额")
    private BigDecimal buyMoney;
    /**最近采购日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最近采购日期")
    private java.util.Date lastBuyDate;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
    @ApiModelProperty(value = "供应商名称")
    private String supplyFullName;
	/**供应商简称*/
	@Excel(name = "供应商简称", width = 15)
    @ApiModelProperty(value = "供应商简称")
    private String supplyShortName;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
	/**成立时间*/
	@Excel(name = "成立时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "成立时间")
    private java.util.Date setTime;
	/**注册资金*/
	@Excel(name = "注册资金", width = 15)
    @ApiModelProperty(value = "注册资金")
    private java.math.BigDecimal registCapital;
	/**网址*/
	@Excel(name = "网址", width = 15)
    @ApiModelProperty(value = "网址")
    private String webSite;
	/**供应商类型*/
	@Excel(name = "供应商类型", width = 15, dicCode = "mdm_supply_type")
	@Dict(dicCode = "mdm_supply_type")
    @ApiModelProperty(value = "供应商类型")
    private String supplyType;
	/**经营范围*/
	@Excel(name = "经营范围", width = 15)
    @ApiModelProperty(value = "经营范围")
    private String cateScope;
	/**行业*/
	@Excel(name = "行业", width = 15, dicCode = "crm_cust_cate")
	@Dict(dicCode = "crm_cust_cate")
    @ApiModelProperty(value = "行业")
    private String cateTypeCode;
	/**企业性质*/
	@Excel(name = "企业性质", width = 15, dicCode = "crm_ent_type")
	@Dict(dicCode = "crm_ent_type")
    @ApiModelProperty(value = "企业性质")
    private String entTypeCode;
	/**企业背景*/
	@Excel(name = "企业背景", width = 15)
    @ApiModelProperty(value = "企业背景")
    private String entBackground;
	/**银行账号*/
	@Excel(name = "银行账号", width = 15)
    @ApiModelProperty(value = "银行账号")
    private String invBankNo;
	/**开户银行*/
	@Excel(name = "开户银行", width = 15)
    @ApiModelProperty(value = "开户银行")
    private String invBankName;
	/**纳税人识别号*/
	@Excel(name = "纳税人识别号", width = 15)
    @ApiModelProperty(value = "纳税人识别号")
    private String invTaxNo;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String invAddr;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private String invTel;
	/**省*/
	@Excel(name = "省", width = 15)
    @ApiModelProperty(value = "省")
    private String province;
	/**市*/
	@Excel(name = "市", width = 15)
    @ApiModelProperty(value = "市")
    private String city;
	/**区县*/
	@Excel(name = "区县", width = 15)
    @ApiModelProperty(value = "区县")
    private String area;
	/**省市区*/
	@Excel(name = "省市区", width = 15)
    @ApiModelProperty(value = "省市区")
    private String administrativeArea;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**创建人*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;
	/**删除标志*/
	@Excel(name = "删除标志", width = 15)
    @ApiModelProperty(value = "删除标志")
    private String deleteFlag;
}
